package com.ht.impl;

import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 * User: Wangjiaxiang
 * Date: 2010-5-25
 * To change this template use File | Settings | File Templates.
 */
public class PaletteElement {
    String name;
    ImageIcon icon;
    String style;
    int width;
    int height;
    Object value;
    boolean isEdge;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ImageIcon getIcon() {
        return icon;
    }

    public void setIcon(ImageIcon icon) {
        this.icon = icon;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public boolean isEdge() {
        return isEdge;
    }

    public void setEdge(boolean edge) {
        isEdge = edge;
    }

}
